home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
The Fatted Calf
/
The Fatted Calf.iso
/
Applications
/
Games
/
Typing_Arcade
/
Source
/
Animator.h
next >
Wrap
Text File
|
1992-10-07
|
929b
|
50 lines
// (C) Copyright 1992 Jim Patterson
#import <objc/Object.h>
#import <sys/time.h>
#import <dpsclient/dpsclient.h>
@interface Animator : Object
{
int mask;
DPSTimedEntry teNum;
int ticking;
double interval;
struct timeval entrytime;
double synctime;
double adapteddt;
double desireddt;
double t0;
double howOften;
id target;
SEL action;
int passcounter;
}
+ newChronon:(double)dt
adaptation:(double)howoft
target:(id)targ
action:(SEL)act
autoStart:(int)start
eventMask:(int)eMask;
- resetRealTime;
-(double) getSyncTime;
-(double) getDoubleEntryTime;
-(double) getDoubleRealTime;
-(double) getDouble;
- adapt;
- setBreakMask:(int)eventMask;
-(int) getBreakMask;
-(int) isTicking;
-(int) shouldBreak;
- setIncrement:(double)dt;
-(double) getIncrement;
- setAdaptation:(double)oft;
- setTarget:(id)targ;
- setAction:(SEL)aSelector;
- startEntry;
- stopEntry;
- free;
@end